<rect(s)> can be a single rect, or a return delimited list of many rectangles.
<limit rect> defines the maximal area for dragging.
<test> string is an HyperTalk boolean statement (like "the mouseLoc is within rect of fld 1") which will be repetitivly evaluated while dragging.
<if true> and <if false> are two Hypertalk statement string which will be executed when the test string will return true or false.
As usual, using "!", "?" et "=" returns online help (resp. about, syntax and output).
USING
If the mouse button is released within limit rect, the XFCN will return a two items string "x,y" corresponding to the horizontal and vertical move from the original point. If the mouse is released outside, the result will be empty.
Holding shift key allows to constraint move to horizontal or vertical axis.
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: